package string.nowcoder.easy;

import java.util.Scanner;

/**
 * @author bruin_du
 * @description 最难的问题
 * https://www.nowcoder.com/questionTerminal/9f6b8f6ec26d44cfb8fc8c664b0edb6b
 * @date 2022/5/28 18:40
 **/
public class TheHardestProblem {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        while(in.hasNextLine()){
            String str = in.nextLine();
            char[] arr = str.toCharArray();
            for (int i = 0; i < arr.length; i++) {
                char ch = arr[i];
                if(ch >= 'A' && ch <= 'Z')
                    arr[i] = (char)((arr[i] - 'A' - 5 + 26) % 26 + 'A');
                //(char)(c>'E'? c-5 : c+21);
            }
            System.out.println(new String(arr));
        }
    }
}
